package com.jy.entity;

/**
 * @author Xiexingxie
 * @date 2022/11/11 上午 09:38
 */


public class Job {

    private int jobid;
    private String jobname;
    private int deptid;

    @Override
    public String toString() {
        return "Job{" +
                "jobid=" + jobid +
                ", jobname='" + jobname + '\'' +
                ", deptid=" + deptid +
                '}';
    }

    public int getJobid() {
        return jobid;
    }

    public void setJobid(int jobid) {
        this.jobid = jobid;
    }

    public String getJobname() {
        return jobname;
    }

    public void setJobname(String jobname) {
        this.jobname = jobname;
    }

    public int getDeptid() {
        return deptid;
    }

    public void setDeptid(int deptid) {
        this.deptid = deptid;
    }

    public Job(int jobid, String jobname, int deptid) {
        this.jobid = jobid;
        this.jobname = jobname;
        this.deptid = deptid;
    }
}

